home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / MainWP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  2.2 KB  |  99 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: MainWP.h,v $ $Revision: 1.18 $ $Date: 92/05/14 12:53:20 $ */
  6. /*
  7. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  8. #ifndef _XmMainWindowP_h
  9. #define _XmMainWindowP_h
  10.  
  11. #include <Xm/MainW.h>
  12. #include <Xm/ScrolledWP.h>
  13. #include <Xm/SeparatoG.h>
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19.  
  20. #define DEFAULT_HEIGHT 20
  21. #define DEFAULT_WIDTH 20
  22.  
  23.  
  24. /* New fields for the MainWindow widget class record */
  25. typedef struct {
  26.      int mumble;   /* No new procedures */
  27. } XmMainWindowClassPart;
  28.  
  29. /****************
  30.  *
  31.  * Class record declaration
  32.  *
  33.  ****************/
  34. typedef struct _XmMainWindowClassRec {
  35.     CoreClassPart    core_class;
  36.     CompositeClassPart  composite_class;
  37.     ConstraintClassPart constraint_class;
  38.     XmManagerClassPart  manager_class;
  39.     XmScrolledWindowClassPart    swindow_class;
  40.     XmMainWindowClassPart    mwindow_class;
  41. } XmMainWindowClassRec;
  42.  
  43. externalref XmMainWindowClassRec xmMainWindowClassRec;
  44.  
  45. /****************
  46.  *
  47.  * Main Window instance structure.
  48.  *
  49.  ****************/
  50. typedef struct {
  51.  
  52.  
  53.    Dimension    AreaWidth,AreaHeight;
  54.    Dimension    margin_width,margin_height;
  55.    Widget       CommandWindow;
  56.    Widget       MenuBar;
  57.    Widget       Message;
  58.    unsigned char CommandLoc;
  59.    XmSeparatorGadget       Sep1,Sep2,Sep3;
  60.    Boolean    ManagingSep;
  61.    Boolean    ShowSep;
  62.    
  63. } XmMainWindowPart;
  64.  
  65.  
  66. /************************************************************************
  67.  *                                    *
  68.  * Full instance record declaration                    *
  69.  *                                    *
  70.  ************************************************************************/
  71.  
  72. typedef struct _XmMainWindowRec {
  73.     CorePart        core;
  74.     CompositePart   composite;
  75.     ConstraintPart constraint;
  76.     XmManagerPart   manager;
  77.     XmScrolledWindowPart   swindow;
  78.     XmMainWindowPart   mwindow;
  79. } XmMainWindowRec;
  80.  
  81.  
  82. /********    Private Function Declarations    ********/
  83. #ifdef _NO_PROTO
  84.  
  85.  
  86. #else
  87.  
  88.  
  89. #endif /* _NO_PROTO */
  90. /********    End Private Function Declarations    ********/
  91.  
  92.  
  93. #ifdef __cplusplus
  94. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  95. #endif
  96.  
  97. #endif /* _XmMainWindowP_h */
  98. /* DON'T ADD STUFF AFTER THIS #endif */
  99.